﻿@using ABC.Controllers.ViewModels
@using ABC.Controllers.ViewModels.My
@using ABC.Core.Extentions
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>Мой офис - Азбука24</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="Azbuka template" />
    <meta name="author" content="Vitaliy Motygin" />
    <link href="@Url.VirtualStyleUrl("bootstrap.css")" rel="stylesheet"/>
    <link href="@Url.VirtualStyleUrl("bootstrap-responsive.css")" rel="stylesheet"/>
    <link href="@Url.VirtualStyleUrl("azb.css")" rel="stylesheet"/>
    <link href="@Url.VirtualStyleUrl("azb-responsive.css")" rel="stylesheet"/>
    <link href="@Url.VirtualStyleUrl("font-awesome.css")" rel="stylesheet"/>
    <!--[if lt IE 7]><link href="../../css/font-awesome-ie7.css" rel="stylesheet"><![endif]-->
    <link href="@Url.VirtualStyleUrl("jquery.jgrowl.css")" rel="stylesheet"/>
    <link href="@Url.VirtualStyleUrl("bootstrap-image-gallery.css")" rel="stylesheet"/>
    <link href="@Url.VirtualStyleUrl("datepicker.css")" rel="stylesheet"/>
    <link href="@Url.VirtualStyleUrl("itrf.css")" rel="stylesheet"/>
     <!--// Подключаем JS скрипты -->
    <script src="@Url.VirtualScriptUrl("jquery.min.js")"></script>
    <script src="@Url.VirtualScriptUrl("bootstrap.min.js")"></script>
    <script src="@Url.VirtualScriptUrl("jquery.jgrowl.min.js")"></script>
    <script src="@Url.VirtualScriptUrl("jquery.maskedinput.min.js")"></script>
    <script src="@Url.VirtualScriptUrl("application.js")"></script>
    <script src="@Url.VirtualScriptUrl("load-image.min.js")"></script>
    <script src="@Url.VirtualScriptUrl("bootstrap.image-gallery.min.js")"></script>
    <script src="@Url.VirtualScriptUrl("bootstrap.datepicker.min.js")"></script>
    <script src="@Url.VirtualScriptUrl("jquery.uploadify-3.1.js")"></script>
    <script src="@Url.VirtualScriptUrl("knockout-2.0.0.js")"></script>
</head>
<body>
    @{ Html.RenderPartial("_MyTopMenu", new MyTopMenuViewModel()); }
    @{ Html.RenderPartial("_MyTopNavigationMenu", new BaseViewModel()); }
    <div class="container">
        <div class="container-fluid fade-all well min-height-1">
            <div class="row-fluid">
                @RenderBody()
            </div>
        </div>
        <div id="footer">
            <div class="row-fluid">
                <div class="span6">
                    <h4>
                        Азбука24 в интернет</h4>
                    <p>
                        <i class="icon-facebook"></i>
                    </p>
                </div>
                <div class="span3">
                    <h4>
                        Веб-кабинет</h4>
                    <p>
                        Безопасность<br>
                        Вопросы и предложения: <a href="mailto:support@azb24.ru">support@azb24.ru</a>
                    </p>
                </div>
                <div class="span3">
                    <h4>
                        Горячая линия</h4>
                    <p>
                        8 (495) 950-58-57
                    </p>
                </div>
            </div>
        </div>
    </div>
   

    

    <script type="text/javascript">
        function GetModelsAuto() {
            $.getJSON('@Url.Action("GetModelsAuto", "Information", new { area = "" })' + "?modelAuto=" + $("#car-manufacture").val(), function (data) {
                var models = JSON.parse(data);
                var carModel = document.getElementById("car-model");
                var carModelLength = carModel.options.length;
                for (var i = 0; i < carModelLength; i++) {
                    carModel.remove(carModel.options[i]);
                }
                for (var j = 0; j < models.length; j++) {
                    carModel.options[j] = new Option(models[j], models[j]);
                }
            });
        };
    </script>
</body>
</html>
